<template>
  <div>
    <h1>父组件</h1>
    <h1>父组件的数据n: {{ n1 }}---{{ n2 }} </h1>
    <Son :n1.sync="n1" :n2.sync="n2" />

  </div>
</template>

<script>
import Son from './Son.vue'
export default {
  components: {
    Son

  },
  data() {
    return {
      n1: 1,
      n2: 2
    }
  },
  mounted() {

  },
  methods: {

  }
}

</script>
<style scoped lang='less'>
</style>
